<form class="form-horizontal clearfix" role="form" name="navigationEditForm"
	action="${(cardone.webContextUrl)!}/authority/navigation/save.json">
	<input type="hidden" name="id" value="${navigation.id!}">
	<input type="hidden" name="treeTypeCode" value="table_info">
	<input type="hidden" name="treeCode" value="Navigation">
	<div class="form-group">
		<label class="col-sm-1 control-label">站点：</label>
		<div class="col-sm-3">
			<select name="siteId" class="form-control"> <#assign projectList =
				cardone.DictionaryUtils.findListByTypeCode("project")> <#if projectList??> <#list projectList as project>
				<optgroup label="${project.name!}">
					<#assign siteList = cardone.SiteUtils.findListByProjectCode(project.code)> <#if siteList??> <#list siteList as site>
					<#if site.id == navigation.siteId>
					<option value="${site.id}" selected="selected">${site.name}</option>
					<#else>
					<option value="${site.id}">${site.name}</option>
					</#if> </#list> </#if>
				</optgroup> </#list> </#if>
			</select>
		</div>
		<label class="col-sm-1 control-label">类别：</label>
		<div class="col-sm-3">
			<select name="typeId" class="form-control"> <#assign navigationTypeList =
				cardone.DictionaryUtils.findListByTypeCode("navigation_type")> <#if projectList??> <#list navigationTypeList as
				navigationType> <#if navigationType.id == navigation.typeId>
				<option value="${navigationType.id!}" selected="selected">${navigationType.name!}</option> <#else>
				<option value="${navigationType.id!}">${navigationType.name!}</option> </#if> </#list> </#if>
			</select>
		</div>
		<label class="col-sm-1 control-label">父级：</label>
		<div class="col-sm-3">
			<input type="text" name="parentCode"
				value="${navigation.parentName!}<#if navigation.parentCode??>(${navigation.parentCode!})</#if>" class="form-control"
				placeholder="智能补全，支持按空格键" maxlength="128"><input type="hidden" name="parentId"
				value="${navigation.parentId!}">
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-1 control-label">代码：</label>
		<div class="col-sm-3">
			<input type="text" name="code" value="${navigation.code!}" class="form-control" placeholder="请输入代码"
				maxlength="128">
		</div>
		<label class="col-sm-1 control-label">名称：</label>
		<div class="col-sm-3">
			<input type="text" name="name" value="${navigation.name!}" class="form-control" placeholder="请输入名称"
				maxlength="128">
		</div>
		<label class="col-sm-1 control-label">排序:</label>
		<div class="col-sm-3">
			<input type="number" name="orderNum" value="${navigation.orderNum!}" class="form-control" placeholder="请输入排序">
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-1 control-label">目标：</label>
		<div class="col-sm-3">
			<input type="text" name="target" value="${navigation.target!}" class="form-control" placeholder="请输入目标" maxlength="128">
		</div>
		<label class="col-sm-1 control-label">路径：</label>
		<div class="col-sm-7">
			<input type="text" name="url" value="${navigation.url!}" class="form-control" placeholder="请输入路径" maxlength="128">
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-1 control-label">图标：</label>
		<div class="col-sm-3">
			<input type="text" name="iconStyle" value="${navigation.iconStyle!}" class="form-control" placeholder="请输入图标样式" maxlength="128">
		</div>
		<label class="col-sm-1 control-label">选项：</label>
		<div class="col-sm-7">
			<input type="text" name="dataOption" value="${navigation.dataOption!}" class="form-control" placeholder="请输入数据选项" maxlength="128">
		</div>
	</div>
	<div class="pull-right">
		<button class="btn btn-primary c1-save" type="button">保存</button>
		<button class="btn" type="reset">重置</button>
		<button class="btn c1-back" type="button">返回</button>
	</div>
</form>